package com.bjwl.dao;


import com.bjwl.pojo.Card;
import com.bjwl.pojo.Invoice;
import com.bjwl.pojo.vo.CardQueryVo;
import com.bjwl.pojo.vo.QueryInvoiceVo;
import com.bjwl.utils.PageBean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InvoiceMapper {
    Invoice findInvoiceById(Integer id);

    void addInvoice(Invoice vo);

    Integer updateInvoice(Invoice invoice);

    void deleteInvoice(Integer id);

    Integer getInvoiceTotalRecord(QueryInvoiceVo vo);

    List<Invoice> getInvoiceList(PageBean<Invoice> pageBean, QueryInvoiceVo vo);
}